import request from '@/utils/request'
// 转运
export function transferList(params) {
  return request({
    url: 'order/transfer/transferList',
    params,
  })
}
export function checkIn(id) {
  return request({
    url: `order/transfer/checkIn/${ id }`,
    method: 'post',
  })
}

export function cancel(id) {
  return request({
    url: `order/transfer/cancel/${ id }`,
    method: 'post',
  })
}

export function list1(params) {
  return request({
    url: 'order/transfer/detail',
    method: 'get',
    params,
  })
}
export function list2(params) {
  return request({
    url: 'order/transfer/details',
    method: 'get',
    params,
  })
}